package com.ai.common.constant.enumP;

/**
 * 权限类型枚举类
 * @Author jiaok
 * @Date 2024-06-03 10:02
 */
public enum PermissionType {
    /**
     * 系统权限
     */
    SYSTEM_PERMISSION(0,"系统权限")
    /**
     * 区域权限
     */
    ,REGION_PERMISSION(1,"区域权限")
    /**
     * 用户本身权限
     */
    ,ITSELF_PERMISSION(2,"用户本身权限");

    private final Integer type;

    private final String name;

    PermissionType(Integer type, String name) {
        this.type = type;
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public String getName() {
        return name;
    }
}
